<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<meta content="modify" name="decorator">
<script src="<c:url value='/scripts/timezone_data.js'/>"
	type="text/javascript"></script>
<title><jap:message code="bd.air.pgtitle" /></title>
<script type="text/javascript"
	src="<c:url value="/scripts/bd/airline/modify.js"/>"></script>
</head>
<body style="padding: 10px">
	<p class="txt_position">
		<jap:message code="common.bread.crumb.navigation.title" />
		:
		<jap:message code="bd.title" />
		>
		<jap:message code="bd.air.pgtitle" />
		<span style="float: right">
	</p>
	<h1 class="title_main">
		<jap:message code="bd.airl.editair" />
	</h1>
	<form name="airline_form" method="post" id="airline_form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0"
			class="talbe_form_list l-table-edit">
			<tbody>
				<tr>
					<th rowspan="2"><font color="red">*</font> <jap:message
							code="bd.airl.departureAirportMsg" />:</th>
					<td rowspan="2"><input id="id" type="hidden" name="id"
						value="${airline.id}" /> <input id="s_departureAirport"
						name="s_departureAirport" type="text"
						value="${airline.departureAirport}" /></td>
					<th rowspan="2"><jap:message
							code="bd.airl.relDepartureAirportMsg" />:</th>
					<td rowspan="2"><input id="s_relDepartureAirport"
						name="s_relDepartureAirport" type="text"
						value="${airline.relDepartureAirport}"
						<c:if test="${empty airline.relDepartureAirport or airline.relDepartureAirport == ''}"> disabled="true"</c:if> />
					</td>
					<th style="color: red"><jap:message code="bd.airl.status" />:</th>
					<td><select id="s_status" name="s_status">
							<option value="1"
								<c:if test="${airline.status == 1}">selected</c:if>><jap:message
									code="bd.airl.airlineYes" /></option>
							<option value=""
								<c:if test="${airline.status != 1}">selected</c:if>><jap:message
									code="bd.airl.airlineNo" /></option>
					</select></td>
				</tr>
				<tr>
					<th style="color: red"><jap:message code="bd.airl.popStatus" />:</th>
					<td><select id="s_popStatus" name="s_popStatus">
							<option value="1"
								<c:if test="${airline.popStatus == 1}">selected</c:if>><jap:message
									code="bd.airl.airlineYes" /></option>
							<option value=""
								<c:if test="${airline.popStatus != 1}">selected</c:if>><jap:message
									code="bd.airl.airlineNo" /></option>
					</select></td>
				</tr>
				<tr>
					<th><font color="red">*</font> <jap:message
							code="bd.airl.arrivalAirportMsg" />:</th>
					<td><input id="s_arrivalAirport" name="s_arrivalAirport"
						type="text" value="${airline.arrivalAirport}" /></td>
					<th><jap:message code="bd.airl.relArrivalAirportMsg" />:</th>
					<td><input id="s_relArrivalAirport" name="s_relArrivalAirport"
						type="text" value="${airline.relArrivalAirport}"
						<c:if test="${empty airline.relDepartureAirport or airline.relDepartureAirport == ''}"> disabled="true"</c:if> />
					</td>
					<th style="color: red"><jap:message
							code="bd.airl.representation" />:</th>
					<td><select id="s_representation" name="s_representation">
							<option value="1"
								<c:if test="${!empty airline.relDepartureAirport and airline.relDepartureAirport != ''}">selected</c:if>><jap:message
									code="bd.airl.airlineYes" /></option>
							<option value=""
								<c:if test="${empty airline.relDepartureAirport or airline.relDepartureAirport == ''}">selected</c:if>><jap:message
									code="bd.airl.airlineNo" /></option>
					</select></td>
				</tr>
			</tbody>
			<tfoot>
				<tr class="no_border">
					<td>&nbsp;</td>
					<td colspan="3"><input type="submit"
						value='<jap:message code="common.button.submit" />' id="Button1"
						class="btn_all" onclick="" /> <input name="" type="button"
						value='<jap:message code="common.button.back" />'
						class="cancel_all"
						onclick="window.location.replace('<c:url value='/bd/airline/list.htm'/>')" /></td>
				</tr>
			</tfoot>
		</table>
	</form>

</body>
</html>